package com.uyayo.blog.service;

import com.uyayo.blog.entity.BlogTag;
import com.uyayo.blog.model.BlogTagCondition;
import com.uyayo.framework.common.exception.CategoryNotFoundException;
import com.uyayo.framework.common.exception.ModifiedRecordNotExistException;
import com.uyayo.framework.core.service.IBaseService;
import com.uyayo.framework.pagehelper.Pageable;
import com.uyayo.framework.pagehelper.pojo.PageBean;

import java.util.List;

public interface BlogTagService extends IBaseService<BlogTag>{

	List<BlogTag> selectBlogTag(BlogTagCondition blogTagCondition);

	PageBean<BlogTag> selectBlogTagByPaging(Pageable<BlogTagCondition> pageable);

	int saveBlogTag(BlogTag blogTag) throws CategoryNotFoundException;

	int updateBlogTag(BlogTag blogTag) throws CategoryNotFoundException, ModifiedRecordNotExistException;

}
